namespace EFMysql
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("www_test.pre_customplan")]
    public partial class pre_customplan
    {
        [Key]
        public int cpid { get; set; }

        public int? spid { get; set; }

        public int? pcdate { get; set; }

        public int? pctype { get; set; }

        public int? tradesn { get; set; }

        public decimal? pcbalance { get; set; }

        public int? pccount { get; set; }

        [StringLength(50)]
        public string remark { get; set; }

        public int? createid { get; set; }

        public int? createtime { get; set; }

        public int? updateid { get; set; }

        public int? updatetime { get; set; }

        public int? userid { get; set; }

        [StringLength(50)]
        public string username { get; set; }

        public int? planstatus { get; set; }
    }
}
